<!DOCTYPE html>
<html lang="en">


<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>后台管理系统</title>
    <link rel="stylesheet" href="./assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="./assets/css/index.css">
    <script>
        if (!localStorage.getItem('token')) {
            location.href = './login.html'
        }
    </script>
</head>



<body class="layui-layout-body">
    <div class="layui-layout layui-layout-admin">
        <div class="layui-header">
            <div class="layui-logo">后台管理系统</div>
            <!-- 头部区域（可配合layui已有的水平导航） -->

            <ul class="layui-nav layui-layout-right">
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <img src="https://dss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=1431126745,2958218412&fm=26&gp=0.jpg" class="layui-nav-img">
                        Num-3
                    </a>
                </li>
                <li class="layui-nav-item"><a href="javascript:;" id="exit">退了</a></li>
            </ul>
        </div>

        <div class="layui-side layui-bg-black">
            <div class="layui-side-scroll">
                <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
                <ul class="layui-nav layui-nav-tree" lay-filter="test">
                    <li class="layui-nav-item"><a href="./home/home.html" target="ifm">首页</a></li>
                    <li class="layui-nav-item layui-nav-itemed">
                        <a class="" href="javascript:;">用户管理</a>
                        <dl class="layui-nav-child">
                            <dd><a href="./user/user.html" target="ifm">用户列表</a></dd>
                            <dd><a href="./user/add.html" target="ifm">添加用户</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;">资源管理</a>
                        <dl class="layui-nav-child">
                            <dd><a href="./link/link.html" target="ifm">友情链接</a></dd>
                            <dd><a href="./swiper/swiper.html" target="ifm">轮播图</a></dd>
                            <dd><a href="./comment/comment.html" target="ifm">评论管理</a></dd>
                        </dl>
                    </li>

                </ul>
            </div>
        </div>

        <div class="layui-body">
            <!-- 内容主体区域 -->
            <iframe src="./home/home.html" frameborder="0" name="ifm">

            </iframe>
        </div>

        <!-- <div class="layui-footer"> -->
            <!-- 底部固定区域 -->
            <!-- © layui.com - 底部固定区域 -->
        <!-- </div> -->
    </div>

    <script src="./assets/lib/jquery.js"></script>
    <script src="./assets/lib/layui/layui.all.js"></script>
    <script src="./assets/js/common.js"></script>
    <script src="./assets/js/index.js"></script>
</body>

</html>